package learn.jackjson.bean;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

public class Student {
	private int id;
	private String name;
	private List<String> bookNameList=new ArrayList<String>();
	
	@JsonFormat(pattern ="yyyy-MM-dd")
	private Date createDate;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public List<String> getBookNameList() {
		return bookNameList;
	}
	public void setBookNameList(List<String> bookNameList) {
		this.bookNameList = bookNameList;
	}
	
	
}
